//分页查出来的基础类
import {NursingProject} from "@/pages/serve/plan/project/model/NursingProject";
import {request} from "@/utils/request";
import {AddNursingProjectPlan} from "@/pages/serve/plan/nurse/model/NursingPlan";

export interface NursingLevelVo {
  id: number,
  createTime: string,
  createDay: string,
  updateTime: string,
  createBy: number,
  updateBy: number,
  dataState: string,
  remark: string,
  createType: number,
  creator: string,
  adminCreator: string,
  updater: string,
  name: string,
  planName: string,
  planId: number,
  fee: number,
  status: number,
  description: string,
  cid: number,
  count: number,
}

//新增/修改 请求模型
export interface NursingLevel {
  createBy: number,
  createTime: string,
  creator: string,
  description: string,
  fee: number,
  id: number,
  name: string,
  planId: number,
  planName: string,
  remark: string,
  status: number,
  updateBy: number,
  updateTime: string,
  updater: string
}

//NursingPlan
export interface NursingPlan {
  id: number,
  createTime: string,
  updateTime: string,
  createBy: number,
  updateBy: number,
  remark: string,
  creator: string,
  updater: string,
  sortNo: number,
  planName: string,
  status: number,
  adminCreator: string,
  projectName: string,
  lid: string,
}

//分页据模型
export interface NursingLevelPage {
  total: number
  pageSize: number
  pages: number
  page: number
  records: NursingLevelVo[]
}

//分页响应数据模型
export interface NursingLevelPageResponse {
  code: number
  msg: string
  data: NursingLevelPage
}

//根据id查询的响应数据模型
export interface NursingLevelResponse {
  code: number
  msg: string
  data: NursingLevelVo
}

//查询所有护理计划
export interface queryAllNursingPlansResponse {
  code: number,
  msg: string,
  data: NursingPlan[]
}

//新增响应数据模型
export interface addLevelResponse {
  code: number,
  msg: string,
  data:string
}

